﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IPhong
    {
        [OperationContract]
        IEnumerable<PHONG> GetByAllPhong();

        [OperationContract]
        String InsertPhong(PHONG data);

        [OperationContract]
        String UpdatePhong(PHONG data);

        [OperationContract]
        String DeletePhong(string id);

        [OperationContract]
        IEnumerable<PHONG> GetByTopPhong(string _top, string _where, string _order);

        [OperationContract]
        String ApprovePhong(PHONG data);
    }
}
